<template>
  <el-form-item :label="i18nt('designer.setting.displayType')">
    <el-select v-model="optionModel.type">
      <el-option label="时分秒" value="datetime"></el-option>
      <el-option label="天" value="date"></el-option>
      <!-- <el-option label="多个日期" value="dates"></el-option> -->
      <el-option label="年" value="year"></el-option>
      <el-option label="月" value="month"></el-option>
      <el-option label="周" value="week"></el-option>
    </el-select>
  </el-form-item>
</template>

<script>
  import i18n from "@/utils/i18n";

  export default {
    name: "date-type-editor",
    mixins: [i18n],
    props: {
      designer: Object,
      selectedWidget: Object,
      optionModel: Object,
    },
  }
</script>

<style scoped>

</style>
